﻿using System;
using SilverChart.Core.Service;
using System.Collections.Generic;

namespace SilverChart.Core.Configuration {
    /// <summary>
    /// Configuration Item interface
    /// </summary>
    [ServicePoint]
    public interface ConfigurationItem {
        T GetConfigurationValue<T>(String itemName);
        T GetConfigurationValue<T>(String itemName, T defalutValue);
        Boolean TryGetConfigurationValue<T>(String itemName, out T value);
        Boolean TryGetConfigurationValues<T>(String itemName, out IList<T> values);
    }
}
